home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet multimedia / Animacje, filmy i prezentacje / Modelowanie 3D / Wings 3D 0.98.35 / wings-0.98.35.exe / lib / wpc_wood.auv < prev    next >
Text File  |  2006-07-19  |  1KB  |  28 lines

  1. %%
  2. %%  wpc_wood.auv --
  3. %%
  4. %%     Config file for simple wood shader
  5. %%
  6. %%  Copyright (c) 2006 Dan Gudmundsson
  7. %%
  8. %%  See the file "license.terms" for information on usage and redistribution
  9. %%  of this file, and for a DISCLAIMER OF ALL WARRANTIES.
  10. %%
  11. %%     $Id: wpc_wood.auv,v 1.2 2006/01/27 15:17:56 dgud Exp $
  12. %%
  13.  
  14. %%  Everything behind a '%' is a comment
  15.  
  16. {name, "Wood"}.  % The name in the shader selector
  17. {vertex_shader, "standard.vs"}. % Vertex shader used
  18. {fragment_shader, "wood.fs"}.  % Fragment shader used
  19. {auv, auv_noise}.               % Use builtin 3d noise texture
  20. {auv, auv_bbpos3d}.             % Use bounding box for positions
  21. %% Uses these uniforms:  
  22. %% {uniform, Type, VarID in shader, DefaultValue, StringInGUI}
  23. {uniform, color, "darkWood", {0.45,0.22,0.0,1.0}, "Dark Rings"}.
  24. {uniform, color, "liteWood", {0.85,0.42,0.20,1.0}, "Lite Background"}.
  25. {uniform, float, "frequency", 3.0, "Frequency"}.
  26. {uniform, float, "noiseScale", 8.0, "Noise Scale"}.
  27. {uniform, float, "scale", 1.0, "Scale"}.
  28.